package com.test;

import java.util.ArrayList;
import java.util.List;



import android.content.Context;



public class ParameterRequest {
	
	WebServiceRequest webServiceRequest;
	
	public ParameterRequest(){
		webServiceRequest=new WebServiceRequest();
		
	}
	public String  loginResult(String name,String password) {
		String methodName = "hello";
		String nameSpace ="http://192.168.1.15:8080/WebService3/SoapHello.php/";
		List<String[]> list=new ArrayList<String[]>();
		String[] str;
		str=new String[2];
		str[0]="user_name";
		str[1]=name;
		list.add(str);
		str=new String[2];
		str[0]="password";
		str[1]=password;
		list.add(str);
		String result=webServiceRequest.CallWebService(methodName,nameSpace, list,"http://192.168.1.15:8080/WebService3/SoapHello.php?wsdl").toString();
		return result;
	}
}
